<!-- CONTENT -->
<div class="sidebar">
	<div class="fondDivPrincipales">
            <h3><?php echo $event->getTitle() ?></h3>
            <small><?php echo $event->getStartDate() ?></small><small><?php echo $event->getEndDate() ?></small>
            <p>Lieu : <?php echo $event->getAddress() ?>, <?php echo $event->getZipCode() ?> <?php echo $event->getCity() ?></p>
            <p><?php echo $event->getDescription() ?></p>
            <p>Prix adhérent BDE : <?php echo $event->getMemberPrice() ?></p>
            <p>Prix non adhérent BDE : <?php echo $event->getNoMemberPrice() ?></p>
            <p> Date limite de payment : <?php echo $event->getDeadlinePayment() ?></p>
            
	</div>
</div>
<!-- CONTENT -->

<?php if($sf_user->isAuthenticated()):?>
<form method="post" action="<?php echo url_for('events/inscription');?>">
    <input name="idUser" type="hidden" value="<?php echo $sf_user->getGuardUser()->getId() ?>" >
    <input name="idEvent" type="hidden" value="<?php echo $event->getId() ?>" >
    <input type="submit" value="S'inscrire" >
</form>

<h4>Les membres inscrits :</h4>
<?php foreach($EventUsers as $user):?>
    <?php echo $user->getId();?>
<?php endforeach; ?>

<?php endif; ?>
